package my.edu.model.bills.purchase.entity.dto;

import jakarta.validation.constraints.Min;
import lombok.Data;

import java.math.BigDecimal;

@Data
public class PurchaseIdToPayableBalanceDTO {
    @Min(value = 1,message = "购货单id要大于0")
    private Long purchaseId;
    @Min(value = 0,message = "抵扣金额要大于0")
    private BigDecimal balance;
}
